package com.wk1un2.service;

import java.util.List;
import java.util.Map;

import com.wk1un2.entity.ProductCategory;

public interface ProductCategoryService {
	// 获取所有商品分类的信息
	// 返回所有分类集
	public List<Map<String, Object>> getAll(int page, int limit, String pcat_name);

	public List<Map<String, Object>> getCategory(String pcat_name);

	public Integer getProCount(int pcat_id);

	public Integer count();

	public Integer add(Map<String, Object> map);

	public Integer update(Map<String, Object> map);

	public Integer delete(int pcat_id);
}